const crypto = require('crypto');

function passwordEncoder(raw_password) {
    return crypto
        .createHmac('sha256', 'aaa')
        .update(raw_password)
        .digest('hex');
}

module.exports = { passwordEncoder };
